package com.the4man.framework.model.gen;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lenovo on 2017/12/11.
 */
public class WarnInfoExampleBase {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria = new ArrayList();
    protected int limitStart = -1;
    protected int rowsPerPage = -1;

    public WarnInfoExampleBase() {
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return this.orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return this.distinct;
    }

    public List<WarnInfoExampleBase.Criteria> getOredCriteria() {
        return this.oredCriteria;
    }

    public void or(WarnInfoExampleBase.Criteria criteria) {
        this.oredCriteria.add(criteria);
    }

    public WarnInfoExampleBase.Criteria or() {
        WarnInfoExampleBase.Criteria criteria = this.createCriteriaInternal();
        this.oredCriteria.add(criteria);
        return criteria;
    }

    public WarnInfoExampleBase.Criteria createCriteria() {
        WarnInfoExampleBase.Criteria criteria = this.createCriteriaInternal();
        if(this.oredCriteria.size() == 0) {
            this.oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected WarnInfoExampleBase.Criteria createCriteriaInternal() {
        WarnInfoExampleBase.Criteria criteria = new WarnInfoExampleBase.Criteria();
        return criteria;
    }

    public void clear() {
        this.oredCriteria.clear();
        this.orderByClause = null;
        this.distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart = limitStart;
    }

    public int getLimitStart() {
        return this.limitStart;
    }

    public void setRowsPerPage(int rowsPerPage) {
        this.rowsPerPage = rowsPerPage;
    }

    public int getRowsPerPage() {
        return this.rowsPerPage;
    }

    public static class Criteria extends WarnInfoExampleBase.GeneratedCriteria {
        protected Criteria() {
        }
    }

    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;

        public String getCondition() {
            return this.condition;
        }

        public Object getValue() {
            return this.value;
        }

        public Object getSecondValue() {
            return this.secondValue;
        }

        public boolean isNoValue() {
            return this.noValue;
        }

        public boolean isSingleValue() {
            return this.singleValue;
        }

        public boolean isBetweenValue() {
            return this.betweenValue;
        }

        public boolean isListValue() {
            return this.listValue;
        }

        public String getTypeHandler() {
            return this.typeHandler;
        }

        protected Criterion(String condition) {
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if(value instanceof List) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }

        }

        protected Criterion(String condition, Object value) {
            this(condition, value, (String)null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, (String)null);
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<WarnInfoExampleBase.Criterion> criteria = new ArrayList();

        protected GeneratedCriteria() {
        }

        public boolean isValid() {
            return this.criteria.size() > 0;
        }

        public List<WarnInfoExampleBase.Criterion> getAllCriteria() {
            return this.criteria;
        }

        public List<WarnInfoExampleBase.Criterion> getCriteria() {
            return this.criteria;
        }

        protected void addCriterion(String condition) {
            if(condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            } else {
                this.criteria.add(new WarnInfoExampleBase.Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if(value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            } else {
                this.criteria.add(new WarnInfoExampleBase.Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if(value1 != null && value2 != null) {
                this.criteria.add(new WarnInfoExampleBase.Criterion(condition, value1, value2));
            } else {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
        }

        public WarnInfoExampleBase.Criteria andIdIsNull() {
            this.addCriterion("wi.id is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdIsNotNull() {
            this.addCriterion("wi.id is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdEqualTo(String value) {
            this.addCriterion("wi.id =", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdNotEqualTo(String value) {
            this.addCriterion("wi.id <>", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdGreaterThan(String value) {
            this.addCriterion("wi.id >", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("id >=", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdLessThan(String value) {
            this.addCriterion("id <", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdLessThanOrEqualTo(String value) {
            this.addCriterion("id <=", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdLike(String value) {
            this.addCriterion("id like", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdNotLike(String value) {
            this.addCriterion("id not like", value, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdIn(List<String> values) {
            this.addCriterion("wi.id in", values, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdNotIn(List<String> values) {
            this.addCriterion("wi.id not in", values, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdBetween(String value1, String value2) {
            this.addCriterion("wi.id between", value1, value2, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andIdNotBetween(String value1, String value2) {
            this.addCriterion("id not between", value1, value2, "id");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameIsNull() {
            this.addCriterion("emp_name is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameIsNotNull() {
            this.addCriterion("emp_name is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameEqualTo(String value) {
            this.addCriterion("emp_name =", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameNotEqualTo(String value) {
            this.addCriterion("emp_name <>", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameGreaterThan(String value) {
            this.addCriterion("emp_name >", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_name >=", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameLessThan(String value) {
            this.addCriterion("wi.emp_name <", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameLessThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_name <=", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameLike(String value) {
            this.addCriterion("wi.emp_name like", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameNotLike(String value) {
            this.addCriterion("emp_name not like", value, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameIn(List<String> values) {
            this.addCriterion("emp_name in", values, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameNotIn(List<String> values) {
            this.addCriterion("emp_name not in", values, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameBetween(String value1, String value2) {
            this.addCriterion("wi.emp_name between", value1, value2, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpNameNotBetween(String value1, String value2) {
            this.addCriterion("wi.emp_name not between", value1, value2, "empName");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacIsNull() {
            this.addCriterion("wi.device_mac is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacIsNotNull() {
            this.addCriterion("wi.device_mac is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacEqualTo(String value) {
            this.addCriterion("device_mac =", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacNotEqualTo(String value) {
            this.addCriterion("wi.device_mac <>", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacGreaterThan(String value) {
            this.addCriterion("wi.device_mac >", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.device_mac >=", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacLessThan(String value) {
            this.addCriterion("wi.device_mac <", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacLessThanOrEqualTo(String value) {
            this.addCriterion("device_mac <=", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacLike(String value) {
            this.addCriterion("device_mac like", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacNotLike(String value) {
            this.addCriterion("wi.device_mac not like", value, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacIn(List<String> values) {
            this.addCriterion("wi.device_mac in", values, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacNotIn(List<String> values) {
            this.addCriterion("wi.device_mac not in", values, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacBetween(String value1, String value2) {
            this.addCriterion("wi.device_mac between", value1, value2, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andDeviceMacNotBetween(String value1, String value2) {
            this.addCriterion("wi.device_mac not between", value1, value2, "deviceMac");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValIsNull() {
            this.addCriterion("wi.heart_val is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValIsNotNull() {
            this.addCriterion("wi.heart_val is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValEqualTo(String value) {
            this.addCriterion("wi.heart_val =", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValNotEqualTo(String value) {
            this.addCriterion("wi.heart_val <>", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValGreaterThan(String value) {
            this.addCriterion("wi.heart_val >", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.heart_val >=", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValLessThan(String value) {
            this.addCriterion("wi.heart_val <", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValLessThanOrEqualTo(String value) {
            this.addCriterion("wi.heart_val <=", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValLike(String value) {
            this.addCriterion("wi.heart_val like", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValNotLike(String value) {
            this.addCriterion("wi.heart_val not like", value, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValIn(List<String> values) {
            this.addCriterion("wi.heart_val in", values, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValNotIn(List<String> values) {
            this.addCriterion("wi.heart_val not in", values, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValBetween(String value1, String value2) {
            this.addCriterion("wi.heart_val between", value1, value2, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andHeartValNotBetween(String value1, String value2) {
            this.addCriterion("wi.heart_val not between", value1, value2, "heartVal");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeIsNull() {
            this.addCriterion("wi.create_time is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeIsNotNull() {
            this.addCriterion("wi.create_time is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeEqualTo(String value) {
            this.addCriterion("wi.create_time =", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeNotEqualTo(String value) {
            this.addCriterion("wi.create_time <>", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeGreaterThan(String value) {
            this.addCriterion("wi.create_time >", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.create_time >=", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeLessThan(String value) {
            this.addCriterion("wi.create_time <", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("wi.create_time <=", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeLike(String value) {
            this.addCriterion("wi.create_time like", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeNotLike(String value) {
            this.addCriterion("wi.create_time not like", value, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeIn(List<String> values) {
            this.addCriterion("wi.create_time in", values, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeNotIn(List<String> values) {
            this.addCriterion("wi.create_time not in", values, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeBetween(String value1, String value2) {
            this.addCriterion("wi.create_time between", value1, value2, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andCreateTimeNotBetween(String value1, String value2) {
            this.addCriterion("wi.create_time not between", value1, value2, "createTime");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmIsNull() {
            this.addCriterion("wi.urgent_alarm is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmIsNotNull() {
            this.addCriterion("wi.urgent_alarm is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmEqualTo(String value) {
            this.addCriterion("wi.urgent_alarm =", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmNotEqualTo(String value) {
            this.addCriterion("wi.urgent_alarm <>", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmGreaterThan(String value) {
            this.addCriterion("wi.urgent_alarm >", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.urgent_alarm >=", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmLessThan(String value) {
            this.addCriterion("wi.urgent_alarm <", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmLessThanOrEqualTo(String value) {
            this.addCriterion("wi.urgent_alarm <=", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmLike(String value) {
            this.addCriterion("wi.urgent_alarm like", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmNotLike(String value) {
            this.addCriterion("wi.urgent_alarm not like", value, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmIn(List<String> values) {
            this.addCriterion("wi.urgent_alarm in", values, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmNotIn(List<String> values) {
            this.addCriterion("wi.urgent_alarm not in", values, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmBetween(String value1, String value2) {
            this.addCriterion("wi.urgent_alarm between", value1, value2, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andUrgentAlarmNotBetween(String value1, String value2) {
            this.addCriterion("wi.urgent_alarm not between", value1, value2, "urgentAlarm");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionIsNull() {
            this.addCriterion("wi.emp_region is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionIsNotNull() {
            this.addCriterion("wi.emp_region is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionEqualTo(String value) {
            this.addCriterion("wi.emp_region =", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionNotEqualTo(String value) {
            this.addCriterion("wi.emp_region <>", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionGreaterThan(String value) {
            this.addCriterion("wi.emp_region >", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_region >=", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionLessThan(String value) {
            this.addCriterion("wi.emp_region <", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionLessThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_region <=", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionLike(String value) {
            this.addCriterion("wi.emp_region like", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionNotLike(String value) {
            this.addCriterion("wi.emp_region not like", value, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionIn(List<String> values) {
            this.addCriterion("wi.emp_region in", values, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionNotIn(List<String> values) {
            this.addCriterion("wi.emp_region not in", values, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionBetween(String value1, String value2) {
            this.addCriterion("wi.emp_region between", value1, value2, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpRegionNotBetween(String value1, String value2) {
            this.addCriterion("wi.emp_region not between", value1, value2, "empRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionIsNull() {
            this.addCriterion("wi.emp_current_region is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionIsNotNull() {
            this.addCriterion("wi.emp_current_region is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionEqualTo(String value) {
            this.addCriterion("wi.emp_current_region =", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionNotEqualTo(String value) {
            this.addCriterion("wi.emp_current_region <>", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionGreaterThan(String value) {
            this.addCriterion("wi.emp_current_region >", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_current_region >=", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionLessThan(String value) {
            this.addCriterion("wi.emp_current_region <", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionLessThanOrEqualTo(String value) {
            this.addCriterion("wi.emp_current_region <=", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionLike(String value) {
            this.addCriterion("wi.emp_current_region like", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionNotLike(String value) {
            this.addCriterion("wi.emp_current_region not like", value, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionIn(List<String> values) {
            this.addCriterion("wi.emp_current_region in", values, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionNotIn(List<String> values) {
            this.addCriterion("wi.emp_current_region not in", values, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionBetween(String value1, String value2) {
            this.addCriterion("wi.emp_current_region between", value1, value2, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andEmpCurrentRegionNotBetween(String value1, String value2) {
            this.addCriterion("wi.emp_current_region not between", value1, value2, "empCurrentRegion");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeIsNull() {
            this.addCriterion("wi.warn_type is null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeIsNotNull() {
            this.addCriterion("wi.warn_type is not null");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeEqualTo(String value) {
            this.addCriterion("wi.warn_type =", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeNotEqualTo(String value) {
            this.addCriterion("wi.warn_type <>", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeGreaterThan(String value) {
            this.addCriterion("wi.warn_type >", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeGreaterThanOrEqualTo(String value) {
            this.addCriterion("wi.warn_type >=", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeLessThan(String value) {
            this.addCriterion("wi.warn_type <", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeLessThanOrEqualTo(String value) {
            this.addCriterion("wi.warn_type <=", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeLike(String value) {
            this.addCriterion("wi.warn_type like", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeNotLike(String value) {
            this.addCriterion("wi.warn_type not like", value, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeIn(List<String> values) {
            this.addCriterion("wi.warn_type in", values, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeNotIn(List<String> values) {
            this.addCriterion("wi.warn_type not in", values, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeBetween(String value1, String value2) {
            this.addCriterion("wi.warn_type between", value1, value2, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }

        public WarnInfoExampleBase.Criteria andWarnTypeNotBetween(String value1, String value2) {
            this.addCriterion("wi.warn_type not between", value1, value2, "warnType");
            return (WarnInfoExampleBase.Criteria)this;
        }
    }
}
